<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Untitled Document</title>
<script>
	window.onload = function()
	{
			document.onkeydown= function(ev)
			{
					var oEvent = ev||event;
					alert(oEvent.keyCode);
			};
	};
	</script>
</head>

<body>
</body>
</html>
